.details{
    position: relative;
    height: 100vh;
    background-color: #f7f7f7;
    padding-bottom: 50px;
    .deta-top{
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 40px;
        padding: 10px 10px 0;
        box-sizing: border-box;
        text-align: left;
        background-color: rgba(0,0,0,0.3);
        span{
            display: inline-block;
            width: 20px;
            height: 20px;
            background: url(../images/fanhui.png) no-repeat;
            background-size: 20px;
        }
    }
    .deta-rule{
        position: absolute;
        top: 260px;
        left: 0;
        width: 100%;
        .rule-box{
            margin: 0 10px;
            border-top-left-radius: 10px;
            border-top-right-radius: 10px;
            background-color: #fff;
            padding-top: 10px;
            .rule-name{
                display: flex;
                justify-content: space-between;
                .name{
                    text-align: left;
                    padding-left: 20px;
                    .ch-name{
                        font-size: 14px;
                        color: #333;
                        padding-top: 5px;
                    }
                    .en-name{
                        font-size: 12px;
                        color: #999;
                        padding-top: 2px;
                    }
                }
                .price{
                    line-height: 40px;
                    color: #21b276;
                    padding-right: 20px;
                    font-size: 14px;
                    font-weight: bold;
                }
            }
            .rule-rules{
                margin-top: 10px;
                .rules{
                    display: flex;
                    padding: 0 20px;
                    font-size: 16px;
                    color: #999999;
                    margin-bottom: 10px;
                    line-height: 30px;
                    .rules-title{
                       width: 40px;
                       height: 30px;
                       margin-right: 30px; 
                       text-align: left;
                    }
                    .rules-item{
                        display: flex;
                        div{
                            width: 70px;
                            height: 30px;
                            border-radius: 20px;
                            background-color: #ccc;
                            margin-right: 10px;
                            font-size: 14px;
                            &.active{
                                color: white;
                                background-color: #21b276;
                            }
                        }
                        div:last-child{
                            margin-right: 0;
                        }
                    }
                }
            }
            .rule-count{
                display: flex;
                justify-content: space-between;
                padding: 20px 0;
                height: 30px;
                line-height: 30px;
                .count-select{
                    padding-left: 20px;
                    font-size: 16px;
                    font-weight: bold;
                    color: #666;
                }
                .count-change{
                    padding-right: 20px;
                    .van-stepper--round .van-stepper__plus{
                        background-color:  #21b276;
    
                    }
                    .van-stepper--round .van-stepper__minus{
                        color:  #21b276;
                        border-color:  #21b276;
                    }
                }
            }
            .rule-desc{
                .desc-title{
                    height: 30px;
                    padding: 0 20px;
                    text-align: left;
                    line-height: 30px;
                    font-size: 16px;
                    font-weight: bold;
                    color: #666;
                }
                .desc-content{
                    padding: 20px 20px 50px; 
                    font-size: 14px;
                    color: #666;
                    text-align: left;
                    .content{
                        margin-bottom: 10px;
                    }
                    
                }
            }
        }
    }
}